{include header.tpl}
{include nav.tpl}
{include search.tpl}

<div class="title"><a href="index.php?index-talk-tid-{$the_talk['tid']}.htm">返回帖子</a>-<a href="index.php">首页</a></div>

<script src="jy_src/js/card.js?{echo $jy_version_of_js;}"></script>
<script src="jy_src/js/ajax.js?{echo $jy_version_of_js;}"></script>
<script src="jy_src/js/loadsubrplinit.js?{echo $jy_version_of_js;}"></script>
		{//hook tpl_index_comm_start.htm}
<div class="l">
	<div class="box">
	<div class="l large dline">{$the_talk['title']}</div>
	<div class="l grey">活跃时间：{$the_talk['time']}<br/>回复帖数：{$the_talk['tj']}</div>
	<div class="l">
		<div class="grey">{$the_talk['posttime']}</div>
	</div>
		{//hook tpl_index_comm_talk_end.htm}
	</div>
</div>
<div class="l">
{if empty($replys)}
	暂无回帖
{else}
{$card_id = 0;}
{foreach $replys as $each_rep}
	{$card_id++;}
	<div class="box">
	<div class="fixtable sub">
	<table>
		<tr><td>
					<a name="ausercard{$card_id}"></a>
			<table>
				<tr>
					<td width="60" align="center" valign="middel">
						<img src="{$each_rep['user']['headphoto']}" height="50" width="50" class="photo"/>
					</td>
					<td><p><a href="#ausercard{$card_id}" onclick="showCard(event, {$card_id});"><b>{$each_rep['user']['name']}</b></a></p>
						<p>UID:{$each_rep['user']['uid']} ({$each_rep['user']['utitle']},{if $each_rep['isonline']}在线{else}离线{/if})</p>
		{//hook tpl_index_comm_each_rep_user_end.htm}
					</td>
				</tr>
			</table>
		</td></tr>
	</table>
	</div><div id="usercard{$card_id}" class="userCard">
邮箱：{if empty($each_rep['user']['email'])}暂无记录{else}{$each_rep['user']['email']}{/if}<br/>
手机：{if empty($each_rep['user']['phone'])}暂无记录{else}{$each_rep['user']['phone']}{/if}</div>
	
	<div class="l">
		<div class="grey">{$each_rep['time']}</div>
		<div class="l">{$each_rep['content']}</div>
		<div class="right">
		{if $each_rep['tj']>0}
			<div id="subview{$each_rep['cid']}"></div>
			<script type="text/javascript">addSubViewId({$each_rep['cid']},{$each_rep['tj']});</script>
		{/if}
		
	{if in_array($_user_uid, $bbs['master'])}
			{//hook tpl_index_comm_manage_pb_before.htm}
			<a href="index.php?manage-pb-cid-{$each_rep['cid']}.htm">屏蔽</a>
			{//hook tpl_index_comm_manage_pb_after.htm}
	{/if}
		#第{$each_rep['lc']}楼&nbsp;<a href="index.php?simpost-subreply-fid-{$each_rep['cid']}.htm">回复({$each_rep['tj']})</a></div>
		{//hook tpl_index_comm_each_rep_content_end.htm}
	</div>
	</div>
{/foreach}
{/if}
</div>
{if !empty($pages)}<div class="page">{$pages}</div>{/if}
			{//hook tpl_index_comm_before_form.htm}
<script src="jy_src/js/face.js?{echo $jy_version_of_js;}"></script>
<a name="faceadd"></a>
<div class="title">快速回帖</div>
<div class="form-simp">
	<form action="index.php?simpost-simpcommadd.htm" method="post" name="simpcomm">
		<input type="hidden" value="{$the_talk['tid']}" name="fid"/></p>
		<p><textarea name="content" cols="26" rows="6" class="form-textarea" id="txtDemo">@{$author['name']} </textarea></p>
			{//hook tpl_index_comm_in_form.htm}
		<p><input type="submit" value="发布回复" name="sub" class="submit"/>(500字以内) .<a href="#faceadd" onclick="showFace(event);">插入表情</a></p>
		<div id="facePanel"></div>
		<p>[<a href="index.php?simpost-commadd-fid-{$the_talk['tid']}-author-{echo base64_encode($author['name'])}.htm">高级回帖</a>]</p>
	</form>
</div>
<script src="jy_src/js/loadsubrpl.js?{echo $jy_version_of_js;}"></script>
{include ly.tpl}
{include footer.tpl}